Carbon


UpdateIconRef

Header: Icons.h Carbon status: Supported

Forces an update of IconRef data.

OSErr UpdateIconRef (
    IconRef theIconRef
);
theIconRef

An IconRef to be updated.

function result

A result code.

DISCUSSION

This function is useful after you have changed a file or folder’s custom icon, for example. Do not call the UpdateIconRef function if you have not already obtained an IconRef for a particular icon; call the function GetIconRefFromFile instead.

AVAILABILITY

Supported in Carbon. Available in CarbonLib 1.0 and later when IconServicesLib 8.5 or later is installed. Exported by CarbonLib 1.0 and later and by IconServicesLib 8.5 and later.


© 2000 Apple Computer, Inc. — (Last Updated 4/18/2000)